package com.fs.warehouse.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author hys
 * @since 2024-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wh_outbound")
public class WhOutbound implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "outbound_entry_id", type = IdType.AUTO)
    private Integer outboundEntryId;

    /**
     * 出库单申请id
     */
    private Integer outboundApplicationId;

    private LocalDateTime outboundDate;

    private String outboundType;

    private Integer customerId;

    private Integer warehouseId;

    private String outbounder;

    private Integer total;

    private Integer totalAmount;
    private String outboundNotes;
    @TableField(exist = false)
    private List<WhDetailed> detailedList;

}
